package com.pine.bean;

public class Person {
    private int id;
    private String name;
    private String type;
    private int hp=100;
    private int mp=100;
    private int strength=100;
    private int wisdom=100;
    private int speed=100;
    private String desc;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getMp() {
        return mp;
    }

    public void setMp(int mp) {
        this.mp = mp;
    }

    public int getStrength() {
        return strength;
    }

    public void setStrength(int strength) {
        this.strength = strength;
    }

    public int getWisdom() {
        return wisdom;
    }

    public void setWisdom(int wisdom) {
        this.wisdom = wisdom;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public Person() {
    }

    public Person(int id, String name, String type, int hp, int mp, int strength, int wisdom, int speed, String desc) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.hp = hp;
        this.mp = mp;
        this.strength = strength;
        this.wisdom = wisdom;
        this.speed = speed;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", hp=" + hp +
                ", mp=" + mp +
                ", strength=" + strength +
                ", wisdom=" + wisdom +
                ", speed=" + speed +
                ", desc='" + desc + '\'' +
                '}';
    }
}
